home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / misc / amag / sh9301e.lha / Maxon-CPP-Demo / Include / math.h < prev    next >
C/C++ Source or Header  |  1993-02-17  |  1KB  |  52 lines

  1. #ifndef INCLUDE_MATH_H
  2. #define INCLUDE_MATH_H
  3. #ifdef __cplusplus
  4. # define PARAMETER_BASE short=10
  5. # define PARAMETER_DIGITS short=0
  6.   extern "C" {
  7. #else
  8. # define PARAMETER_BASE short
  9. # define PARAMETER_DIGITS short
  10. #endif
  11.  
  12. char *inttostr(int, char[], PARAMETER_BASE);
  13. char *uinttostr(unsigned, char[], PARAMETER_BASE);
  14. char *vlongtostr(long long, char[], PARAMETER_BASE);
  15. char *uvlongtostr(unsigned long long, char[], PARAMETER_BASE);
  16. char *floattostr(float, char[], PARAMETER_DIGITS);
  17. char *doubletostr(double, char[], PARAMETER_DIGITS);
  18.  
  19. double sin(double);
  20. double cos(double);
  21. double tan(double);
  22. double asin(double);
  23. double acos(double);
  24. double atan(double);
  25. double atan2(double, double);
  26. double sinh(double);
  27. double cosh(double);
  28. double tanh(double);
  29. double exp(double);
  30. double log(double);
  31. double log10(double);
  32. double pow(double,double);
  33. double sqrt(double);
  34. double ceil(double);
  35. double floor(double);
  36. double fabs(double);
  37. double ldexp(double,int);
  38. double frexp(double,int*);
  39. double modf(double,double*);
  40. double fmod(double,double);
  41. double pwr10(int);
  42. int expo10(double);
  43. float fpwr10(int);
  44.  
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48. #undef PARAMETER_BASE
  49. #undef PARAMETER_DIGITS
  50. #endif
  51.  
  52.